'''
Created on 16.12.2012

@author: felix
'''
class MoveFiltering(object):
    def acceptable(self, field, action):
        pass
    
    def filter(self, field, actions):
        if len(field.history) > 1:
            actions[:] = [action for action in actions if self.acceptable(field, action)]
        